Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: guest features #273

Merged
merged 7 commits into from
Dec 6, 2023
Merged

Conversation

Tinyblargon
Copy link
Collaborator

Add functionality to check which features are enable for a guest system.

Work done:

  • Moved nil check into *Client.CheckVmRef() bd6f10d 7c6d46c
  • Changed get guest command to get guest config d5a6ce3
  • Added the get guest feature command ca58b91
  • Added unit tests 11feae1
  • Added function GuestHasFeature() to check if the guest has a specific feature 11feae1
  • Added function ListGuestFeatures() to check all the features a guest has enabled 11feae1
  • Put value in alphabetical order 938fbc2

The reason GuestHasFeature() and ListGuestFeatures() exist is because only one feature can be checked at the time resulting in multiple API calls. For this reason I didn't incorporate it into ConfigQemu and ConfigLxc.

@mleone87 mleone87 merged commit bbb71ca into Telmate:master Dec 6, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants